package com.xinyue.game.fish;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import com.xinyue.game.logic.frame.XinyueGameServerBoot;

@SpringBootApplication
public class FishServerMain implements ApplicationRunner {
    @Autowired
    private ApplicationContext context;
    @Override
    public void run(ApplicationArguments args) throws Exception {
        XinyueGameServerBoot.run(context,args);
    }
    public static void main(String[] args) {

        SpringApplication.run(FishServerMain.class, args);

    }
}
